//
//  RecordField.h
//  Estimation
//
//  Created by Safeneeds-MacBookPro on 2013/07/03.
//  Copyright (c) 2013年 topsign. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Record.h"

@interface RecordField : NSObject

@property (nonatomic, retain) NSString *fieldName;
@property (nonatomic, retain) id value;
@property (nonatomic) enum DataType  type;

-(id)initWithName:(NSString *) name;
-(id)initWithName:(NSString *) name type:(enum DataType ) dataType;
-(NSString *)getSQLValueStr;

-(NSString *)getValueStr;
-(NSData *)getValueData;

@end
